home *** CD-ROM | disk | FTP | other *** search
/ Hackers Handbook - Millenium Edition / Hackers Handbook.iso / newbies / lesson3 / netuse.txt < prev    next >
Text File  |  1999-06-11  |  2KB  |  59 lines

  1.  
  2. Connects or disconnects your computer from a shared
  3. resource or displays information about your
  4. connections.
  5.  
  6. NET USE [drive: | *] [\\computer\directory [password | ?]]
  7.     [/SAVEPW:NO] [/YES] [/NO] 
  8. NET USE [port:] [\\computer\printer [password | ?]]
  9.     [/SAVEPW:NO] [/YES] [/NO]
  10.  
  11. NET USE drive: | \\computer\directory /DELETE [/YES] 
  12. NET USE port: | \\computer\printer /DELETE [/YES]
  13. NET USE * /DELETE [/YES]
  14.  
  15. NET USE drive: | * /HOME
  16.  
  17.   drive       Specifies the drive letter you assign to a
  18.               shared directory.
  19.   *           Specifies the next available drive letter.
  20.               If used with /DELETE, specifies to
  21.               disconnect all of your connections.
  22.   port        Specifies the parallel (LPT) port name you
  23.               assign to a shared printer.
  24.   computer    Specifies the name of the computer sharing
  25.               the resource.
  26.   directory   Specifies the name of the shared directory.
  27.   printer     Specifies the name of the shared printer.
  28.   password    Specifies the password for the shared 
  29.               resource, if any.
  30.   ?           Specifies that you want to be prompted for the 
  31.               password of the shared resource. You don't 
  32.               need to use this option unless the password is 
  33.               optional.
  34.   /SAVEPW:NO  Specifies that the password you type
  35.               should not be saved in your password-list
  36.               file. You need to retype the password the
  37.               next time you connect to this resource.
  38.   /YES        Carries out the NET USE command without
  39.               first prompting you to provide information or
  40.               confirm actions.
  41.   /DELETE     Breaks the specified connection to a shared
  42.               resource.
  43.   /NO         Carries out the NET USE command, responding 
  44.               with NO automatically when you are prompted
  45.               to confirm actions.
  46.   /HOME       Makes a connection to your HOME directory if 
  47.               one is specified in your LAN Manager or
  48.               Windows NT user account.
  49.  
  50. To list all of your connections, type NET USE without
  51. options.
  52.  
  53. To see this information one screen at a time, type the
  54. following at the command prompt:
  55.  
  56. NET USE /? | MORE
  57.  or
  58. NET HELP USE | MORE
  59.